<#include "/${parameters.templateDir}/simple/a-close.ftl" /><#t>
<#if parameters.expand?? && parameters.expand == "fancybox">
<#include "/${parameters.templateDir}/water/include-js-jquery-easing.ftl" />
<#include "/${parameters.templateDir}/water/include-js-jquery-mousewheel.ftl" />
<#include "/${parameters.templateDir}/water/include-js-jquery-fancybox.ftl" />
<#include "/${parameters.templateDir}/water/include-css-fancybox.ftl" />
<script type="text/javascript"><#t>
<#if parameters.options?? >
<#--$("#${parameters.id?html}").fancybox({'openEffect':'elastic',openSpeed:200,,'closeEffect':'elastic','hideOnOverlayClick':false,'titlePosition':'inside','padding':0,${parameters.options}});<#t>-->
$("#${parameters.id?html}").fancybox({
padding: 0,
openEffect : 'elastic',
openSpeed  : 200,
closeEffect : 'elastic',
closeSpeed  : 200,
closeClick : true,
helpers : {
	overlay : null
}
,${parameters.options}});<#t>
<#else>
<#--$("#${parameters.id?html}").fancybox({'openEffect':'elastic','closeEffect':'elastic','hideOnOverlayClick':false,'titlePosition':'inside','padding':0});<#t>-->
$("#${parameters.id?html}").fancybox({
padding: 0,
openEffect : 'elastic',
openSpeed  : 200,
closeEffect : 'elastic',
closeSpeed  : 200,
closeClick : true,
helpers : {
	overlay : null
}
});<#t>
</#if>
</script><#t>
</#if>
